package com.zzy.j1114iocdemo.ioc2;

public class Main {
    public static void main(String[] args) {
        Tire tire = new Tire(18,"blue");
        Bottom bottom = new Bottom(tire);
        Framework frameWork = new Framework(bottom);
        Car car = new Car(frameWork);
        car.run();
    }
}
